var bing = require("../../models/bingModel.js");

function getByConditions() {

    bing.find({}).sort({ '_id': -1 }).limit(10).exec(function(err, docs) {
        if (err) {
            console.log(err)
        } else {
            return docs;
        }
    })
}

getByConditions();